package com.firefly.admin.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "spring.druid")
public class DruidProperties {
    /**
     * IP白名单
     */
    private String allow;

    /**
     * IP黑名单
     */
    private String deny;

    /**
     * 登录名
     */
    private String loginUsername;

    /**
     * 登录密码
     */
    private String loginPassword;

    /**
     * 是否能够重置数据
     */
    private String resetEnable;
}
